home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / Keys.h < prev    next >
Text File  |  1994-04-05  |  821b  |  39 lines

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| Keys.h
  3. //|
  4. //| This contains header information relating to the use
  5. //| of key controls in HyperCuber.
  6. //|_________________________________________________________
  7.  
  8. #pragma once
  9.  
  10. typedef struct
  11.     {
  12.     char dimension;
  13.     char angle;
  14.     long increment;
  15.     short key_code;
  16.     short modifiers;
  17.     } key_control_struct;
  18.     
  19. #define KeyReturn        0x24
  20. #define KeyDelete        0x33
  21. #define KeyPadEquals    0x51
  22. #define KeyEnter        0x4C
  23. #define KeyPadDiv        0x4B
  24. #define KeyPadMult        0x43
  25. #define KeyPadPlus        0x45
  26. #define KeyPadMinus        0x4E
  27. #define KeyPadDot        0x41
  28. #define KeyPad0            0x52
  29. #define KeyPad1            0x53
  30. #define KeyPad2            0x54
  31. #define KeyPad3            0x55
  32. #define KeyPad4            0x56
  33. #define KeyPad5            0x57
  34. #define KeyPad6            0x58
  35. #define KeyPad7            0x59
  36. #define KeyPad8            0x5B
  37. #define KeyPad9            0x5C
  38.  
  39.